package view.guitare;

import javax.swing.GroupLayout;
import javax.swing.JButton;
import javax.swing.JLabel;
import javax.swing.JPanel;

public class ButtonsPanel extends JPanel {

	JButton launchTestButton;
	JButton stopTestButton;
	
	
	private GroupLayout groupLayout;
	
	public ButtonsPanel() {
		super();
		initComponents();
	}


	private void initComponents() {
		this.launchTestButton = new JButton("Launch Test");
//		this.launchTestButton.addActionListener(l);
		
		this.stopTestButton = new JButton("Stop Test");
		
		this.groupLayout = new GroupLayout(this);
		this.setLayout(this.groupLayout);
		
		groupLayout.setAutoCreateContainerGaps(true);
		groupLayout.setAutoCreateGaps(true);
		
		groupLayout.setHorizontalGroup(groupLayout.createSequentialGroup()
				.addComponent(this.launchTestButton)
				.addComponent(this.stopTestButton)
				);
		
		groupLayout.setVerticalGroup(groupLayout.createParallelGroup(GroupLayout.Alignment.LEADING)
				.addComponent(this.launchTestButton)
				.addComponent(this.stopTestButton)
				);
	}
}
